<template>
  <view class="pop">
    <image class="blank-image" :src="tipData.img" />
    <view class="title">{{ tipData.title }}</view>
    <view class="sm-title" v-html="tipData.smTitle"></view>
    <view class="pop-btn">
      <uv-button type="primary" shape="circle" v-if="tipData.btnText" :text="tipData.btnText" @click="clickTipBtn()"></uv-button>
    </view>
  </view>
</template>
<script>
export default {
  name: 'resultPage',
  props: ['tipData'],
  methods: {
    clickTipBtn() {
      this.$emit('clickTipBtn')
    },
  },
}
</script>
<style lang="scss" scoped>
.pop {
  width: 100vw;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: #fff;
}
.title {
  text-align: center;
  color: #333333;
  font-size: 36rpx;
  font-weight: bold;
  margin-bottom: 30rpx;
}
.sm-title {
  text-align: center;
  color: #999999;
  font-size: 24rpx;
  line-height: 36rpx;
}
.blank-image {
  display: block;
  width: 166rpx;
  height: 166rpx;
  margin: 195rpx auto 30rpx;
}
.pop-btn {
  margin: 0 auto;
  margin-top: 72rpx;
  width: 344rpx;
  height: 88rpx;
}
</style>
